﻿@model SienSchoofsProject.Models.LoginModel

@{
    ViewBag.Title = Resources.Login;
}
<hgroup class="title">
    <h1>@ViewBag.Title</h1>
</hgroup>

<section class="formulier">


    <section id="loginForm">
        @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
        {
            @Html.AntiForgeryToken()
            
            <div class="kolom">
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
                <div>@Html.CheckBoxFor(m => m.RememberMe) @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })</div>
            </div>
                            
            <div class="kolom">
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
                @Html.ActionLink("Wachtwoord vergeten?", "ForgotPassword")
            </div>        
            <div class="login-reg">
                <input type="submit" value="@Resources.Login" />

                @Html.ValidationSummary()
            </div>            
        }
    </section>
</section>
<div id="socialLogin">
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</div>
<aside class="info">
    <hgroup class="title">
        <h3>Info</h3>
    </hgroup>
    @Resources.LoginInfo 
    <br />
    @Resources.LoginInfo2
    <p>@Resources.NoAccountYet @Html.ActionLink(Resources.RegisterNow, "Register")</p>
</aside>
